package com.zl.ribbon.web;

import com.zl.ribbon.service.RibbonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/** @Author : archer @Date : 2020/7/17 @Description : @Version : 1.0 */
@Controller
@RequestMapping("/ribbon")
public class RibbonController {
  @Autowired private RibbonService ribbonService;

  @RequestMapping("/find")
  @ResponseBody
  public String find() {
    return ribbonService.hiService();
  }
}
